<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试</title>
</head>
<body>
    <img src="./img/ba.jpg">
    <h1>欢迎登录 <%= rows[rows.length-1].name %></h1>
    <ul>
        <%  rows.forEach((item) => { %>
        <li><%= item.name %> : <%= item.info %></li>
        <%   }); %>
    </ul>
    <form action="/add" method="get">
        <input type="text" placeholder="昵称" name="name">
        <input type="text" placeholder="信息" name="info">
        <input type="submit" value="提交">
    </form>
</body>
</html>